package com.msc.cili.repository.dao.blog;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.msc.cili.repository.entity.blog.Blog;
import com.msc.cili.repository.to.blog.BlogInfoTo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface BlogMapper extends BaseMapper<Blog> {
    /**
     * 根据分类查询博客
     */
    List<BlogInfoTo> getBlogByTypeName(String typeName);

}